<?php
class Mail{
	private $num;
	private $size;
	private $subject;
	private $from;
	private $from_name;
	private $to;
	private $to_name;
	private $cc;
	private $content;
	private $date;
	private $attachment = array();//array(array(path=>'',size=>''),......)
	
	public function __getNum(){
		return $this->num;
	}
	public function __getSize(){
		return $this->size;
	}
	public function __getSubject(){
		return $this->subject;
	}
	public function __getFrom(){
		return $this->from;
	}
	public function __getFrom_name(){
		return $this->from_name;
	}
	public function __getTo(){
		return $this->to;
	}
	public function __getTo_name(){
		return $this->to_name;
	}
	public function __getCc(){
		return $this->cc;
	}
	public function __getDate(){
		return $this->date;
	}
	public function __getContent(){
		return $this->content;
	}
	public function __getAttachment(){
		return $this->attachment;
	}
	
	
	public function __setNum($num){
		$this->num = $num;
	}
	public function __setSize($size){
		$this->size = $size;
	}
	public function __setSubject($subject){
		$this->subject = $subject;
	}
	public function __setFrom($from){
		$this->from = $from;
	}
	public function __setFrom_name($from_name){
		$this->from_name = $from_name;
	}
	public function __setTo($to){
		$this->to = $to;
	}
	public function __setTo_name($to_name){
		$this->to_name = $to_name;
	}
	public function __setCc($cc){
		$this->cc = $cc;
	}
	public function __setDate($date){
		$this->date = $date;
	}
	public function __setContent($content){
		$this->content = $content;
	}
	public function __setAttachment($attachment){
		$this->attachment = $attachment;
	}
}
?>